<%-- 
    Document   : view_details
    Created on : Aug 1, 2011, 4:44:59 PM
    Author     : priyantha
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <table align="center">
            <tr>
                <td>Welcome</td>
                <td> <core:out value="${user.firstName}" /> </td>
            </tr>
            <tr>
                <td>last name</td>
                <td> <core:out value="${user.lastName}" /> </td>
            </tr>
            <tr>
                <td>Gender</td>
                <td> <core:out value="${user.gender}" /> </td>
            </tr>
            <tr>
                <td>NIC</td>
                <td> <core:out value="${user.nic}" /> </td>
                <td> <core:out value="${user.np}" /> </td>
            </tr>
            <tr>
                <td>DOB</td>
                <td> <core:out value="${user.date}" /> </td>
                <td> <core:out value="${user.month}" /> </td>
                <td> <core:out value="${user.year}" /> </td>
                 <%--<td> <core:out value="${user.datum1}" /> </td>--%>
            </tr>
            <tr>
                <td>Street</td>
                <td> <core:out value="${user.street}" /> </td>
            </tr>
            <tr>
                <td>City</td>
                <td> <core:out value="${user.city}" /> </td>
            </tr>
            <tr>
                <td>Country</td>               
                <td> <core:out value="${user.country}" /> </td>
            </tr>
            <tr>
                <td>Email</td>
                <td> <core:out value="${user.email}" /> </td>
            </tr>
            <tr>
                <td>Mobile Number</td>
                 <td> <core:out value="${user.countrycode}" /> </td>
                <td> <core:out value="${user.mobile}" /> </td>

            </tr>
            <tr>
                <td>Email sub</td>
                <td> <core:out value="${user.emailsub}" /> </td>

            </tr>
            <tr>
                <td>sms sub</td>
                <td> <core:out value="${user.smssub}" /> </td>
            </tr>

        </table>

    </body>
</html>
